<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>骰子</title>
    <link rel="stylesheet" href="./base.css">
    <style>
        .box {
            /* flex布局 */
            display: flex;
            /* 主轴均分排列 */
            justify-content: space-evenly;
            /* 大背景盒子位置 */
            margin: 0 auto;
            width: 878px;
            height: 150px;
            background-color: skyblue;
        }

        .one,
        .two,
        .three,
        .four,
        .five,
        .six {
            /* 每个面的盒子样式 */
            display: flex;
            margin-top: 10px;
            width: 120px;
            height: 125px;
            background-color: #fff;
        }

        .i,
        .ii,
        .iii,
        .iv,
        .v,
        .vi {
            /* 点数图标样式 */
            width: 12px;
            height: 12px;
            background-color: red;
            border-radius: 50%;
        }
        
        .one,
        .four,
        .five,
        .six {
            justify-content: space-around;
            align-items: center;
        }

        .two,
        .three {
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
        }

        .five .left,
        .five .right {
            display: flex;
            flex-direction: column;
            justify-content: space-around;
            align-items: center;
            height: 100%;
        }

        .four .left,
        .four .right,
        .five .center,
        .six .left,
        .six .right {
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
            height: 100%;
        }

    </style>
</head>
<body>
    <div class="box">

        <div class="one">
            <div class="i"></div>
        </div>
    
        <div class="two">
            <div class="i"></div>
            <div class="ii"></div>
        </div>
    
        <div class="three">
            <div class="i"></div>
            <div class="ii"></div>
            <div class="iii"></div>
        </div>
    
        <div class="four">
            <div class="left">
                <div class="i"></div>
                <div class="ii"></div>
            </div>
            <div class="right">
                <div class="iii"></div>
                <div class="iv"></div>
            </div>
        </div>
    
        <div class="five">
            <div class="left">
                <div class="i"></div>
                <div class="ii"></div>
            </div>
            <div class="center"> 
                <div class="iii"></div>
            </div>
            <div class="right">
                <div class="iv"></div>
                <div class="v"></div>
            </div>
        </div>
    
        <div class="six">
            <div class="left">
                <div class="i"></div>
                <div class="ii"></div>
                <div class="iii"></div>
            </div>
            <div class="right">
                <div class="iv"></div>
                <div class="v"></div>
                <div class="vi"></div>
            </div>
        </div>
            
    </div>
</body>
</html>